import request from "@/utils/request.js"

export default {
    //获取收藏的用户信息
    getCollect(data={}) {
        return request({
            url: "/api/user/collect/getCollect",
            method: "POST",
            data:data
        })
    },
    // 添加收藏
    getAddCollect(data={}) {
        return request({
            url: "/api/user/collect/addCollect",
            method: "POST",
            data:data
        })
    },
    //删除收藏/user/collect/deleteCollect
    deleteCollect(data={}){
        return request({
            url:"/api/user/collect/deleteCollect",
            method:"POST",
            data:data
        })
    }

}